package com.javaoopfour;

public class DemoTst4 {
    public static void main(String[] args) {
        Voter voter = new Voter("李思思");
        Voter voter1 = new Voter("张三");

        Voter.ResultCount();

        voter.toVoter();
        voter1.toVoter();

        for (int i = 0; i <=98 ; i++) {
            Voter voteri = new Voter("第"+i+"人投票，");
            voteri.toVoter();
        }

        Voter.ResultCount();


        Voter voteri2 = new Voter("第102人投票，");
        voteri2.toVoter();
    }
}
